//
//  XMLParser.h
//  Truffle
//
//  Created by David Averbouch on 07/03/10.
//  Copyright 2010 isrtream1-svn . All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class Commentaires;

@interface XMLParser : NSObject {
	NSString *className;
	NSMutableArray *items;
	NSObject *item; // stands for any class   
	NSString *currentNodeName;
	NSMutableString *currentNodeContent;
}
- (NSArray *)items;
- (id)parseXMLAtURL:(NSURL *)url
		   toObject:(NSString *)aClassName
		 parseError:(NSError **)error;
@end